package reggie.ruiji.service;

import jakarta.servlet.http.HttpServletRequest;
import reggie.ruiji.Dto.DishDto;
import reggie.ruiji.pojo.Dish;
import reggie.ruiji.pojo.Employee;
import reggie.ruiji.pojo.PageBean;

import java.util.List;

public interface DishService
{
    public Long count(Long id);

    public void insert(DishDto dishDto );

    public Long getid(String name);


    public PageBean pagee(Integer pageNo, Integer pageSize, String name);

    public DishDto getDishDtoById(Long id);

    public void update(DishDto dishDto, HttpServletRequest request);

    public void delete(List<Long> ids);

    public void updateStatus(List<Long> ids, Integer status);

    public List<DishDto> getDishByCategoryId(Dish dish);

}
